package codej.ast;

import codej.ast.*;

public class NextId extends AbstractNode {

	private final String nextId;
	private final String op;

	public void accept(Visitor visitor) {
		visitor.visit(this);
	}

	public NextId(String op, String nextId) {
		this.op = op;
		this.nextId = nextId;
	}
	
	public String getOp() {
		return op;
	}
	
	public String getNextId() {
		return nextId;
	}

}
